using System.Collections.Generic;
using Kugar.Core.BaseStruct;

namespace Kugar.ERPFramework.Core.Interfaces.BLL
{
    public interface IDeletable
    {
        bool IsDeletable(Entity.EntityBase entity);
        bool IsDeletable(string entityID);

        ResultReturn Delete(Entity.EntityBase entity);
        ResultReturn Delete(string entityID);

        ResultReturn Delete(IEnumerable<Entity.EntityBase> entityList);
        ResultReturn Delete(IEnumerable<string> entityIDList);
    }
}
